<style>
  #dialog {
    --cr-dialog-top-container-min-height: 0px;
  }
</style>
<cr-dialog id="dialog" show-on-attach>
  <div slot="body">
    <bluetooth-pairing-ui on-finished="closeDialog_">
    </bluetooth-pairing-ui>
  </div>
</cr-dialog>